package fw_utils

import (
	"github.com/bwmarrin/snowflake"
)

var node *snowflake.Node

func SnowFlakeInit() {
	var err error
	node, err = snowflake.NewNode(1)
	if err != nil {
		return
	}
}

func SnowGen() string {
	return node.Generate().String()
}
